﻿using System.Security.Principal;

namespace FikriKibar.Common.Entities
{
    public class FikriKibarPrincipal : IPrincipal
    {
        private readonly FikriKibarIdentity _fikriKibarIdentity;

        public FikriKibarPrincipal(FikriKibarIdentity fikriKibarIdentity)
        {
            _fikriKibarIdentity = fikriKibarIdentity;
        }

        public bool IsInRole(string role)
        {
            return false;
        }

        public IIdentity Identity => _fikriKibarIdentity;
    }
}
